main: Also support CLI extensions in `/usr/libexec/libostree/ext`
authorColin Walters <walters@verbum.org>
Tue, 11 Jan 2022 21:46:49 +0000 (16:46 -0500)
committerColin Walters <walters@verbum.org>
Wed, 12 Jan 2022 01:13:33 +0000 (20:13 -0500)
commit998154f8ffc2f471bf4f3b59602332ba15ef6d07
tree694e214047806060e78340187779ee72b835828f
parent7cc84819078aec6b9637b3ad29712ca3e2f8433e
main: Also support CLI extensions in `/usr/libexec/libostree/ext`

In fixing https://github.com/coreos/rpm-ostree/pull/3323
I felt that it was a bit ugly we're installing `/usr/bin/ostree-container`.

It's kind of an implementation detail.  We want users to use
`ostree container`.

Let's support values outside of $PATH too.

For example, this also ensures that TAB completion for `ost` expands
to `ostree ` with a space.
configure.ac
src/libostree/ostree-1.pc.in
src/ostree/ot-main.c
tests/kolainst/destructive/basic-misc.sh [new file with mode: 0644]
tests/test-cli-extensions.sh